package models

type Taxonomy struct {
	TaxonomyId  uint   `xorm:"taxonomy_id notnull int pk autoincr"`
	Name        string `xorm:"name notnull varchar(50)" valid:"required,length(1|50)"`
	Description string `xorm:"description notnull varchar(75)" valid:"required,length(1|75)"`
}

func (t *Taxonomy) TableName() string {
	return "mm_taxonomies"
}
